package com.cy;

import com.cy.common.util.IdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author 残影
 * @date
 */
@SpringBootApplication
@MapperScan("com.cy.mapper")
public class TranslationApplication {
    public static void main(String[] args) {
        SpringApplication.run(TranslationApplication.class,args);
    }
    @Bean
    public IdWorker idWorker() {
        return new IdWorker(0, 0);
    }
}
